package com.jakewharton.rxbinding4.component;

import io.reactivex.rxjava3.annotations.NonNull;
import ohos.agp.components.TabList;

/**
 * Tab list selection event
 */
public abstract class TabListSelectionEvent {
    /**
     * Tab list selection event
     */
    public TabListSelectionEvent() {}

    /**
     * The view from which this event occurred.
     *
     * @return the tab list
     */
    @NonNull
    public abstract TabList view();

    /**
     * Tab tab list . tab
     *
     * @return the tab list . tab
     */
    @NonNull
    public abstract TabList.Tab tab();
}
